[Draft] test CU SDK failures#44657
Closed
chienyuanchang wants to merge 155 commits intoAzure:mainfrom
Closed
Conversation
…', API Version: 2025-11-01, SDK Release Type: beta, and CommitSHA: '57cfe1e680b2521e03e1d8a0955bba0257439dca' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5580124 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
- Updated `dev_requirements.txt` to include `pytest-xdist`, `python-dotenv`, and `azure-identity`. - Added `analyze_url.py` sample for extracting content from a URL using the prebuilt-documentSearch analyzer. - Created `sample_helper.py` for utility functions to save JSON results and manage sample files. - Updated `README.md` in samples directory with setup instructions and sample descriptions.
…, and custom poller
…umentSearch - Introduced `analyze_binary.py` to demonstrate asynchronous content extraction from PDF files. - Added multiple sample PDF files for testing, including IRS forms and bank statements. - Created README.md files in sample directories to guide users on file requirements and usage for training custom models.
…alysis - Introduced `analyze_binary_features.py` to showcase extraction of charts, hyperlinks, and annotations from PDF documents using the prebuilt-documentSearch analyzer. - Added `sample_document_features.pdf` for testing the new sample functionality.
…rame extraction - Introduced `get_result_file.py` to showcase the process of analyzing a video file, extracting keyframes, and saving them as images. - Included environment setup instructions and prerequisites for running the sample. - Implemented functionality to create a marketing video analyzer and handle keyframe image downloads.
…eld extraction from a URL - Introduced `analyze_url_prebuilt_invoice.py` to showcase the use of the prebuilt-invoice analyzer for extracting fields from an invoice URL. - Included environment setup instructions and prerequisites for running the sample. - Implemented functionality to analyze an invoice and save the results to a JSON file for detailed inspection.
- Introduced `create_analyzer_with_labels.py` to demonstrate building a custom model using training files from Azure Blob Storage. - Updated `env.sample` to reflect new environment variables required for the sample. - Included detailed instructions for setting up the environment and running the sample, including handling of optional parameters for training data.
- Introduced `copy_analyzer.py` to demonstrate copying an analyzer from a development environment to production using the `begin_copy_analyzer` API. - Added `grant_copy_auth.py` to showcase granting copy authorization and copying an analyzer between different Azure subscriptions. - Updated `env.sample` with new environment variables required for cross-subscription operations, including source and target resource IDs and regions. - Provided detailed instructions for setting up the environment and running the new samples.
…ssues that emitter generates incorrect copy path.
…onse codes for copy analyzer operations. Ensure compatibility with both current (201) and future (202) service behavior.
… improved performance and consistency across various analyzer and classification scripts.
…and remove raw response verification. Update to use public property for operation ID retrieval in tests.
…odies=False The previous fix using ignored_headers was insufficient because it still checked for header presence. This change: 1. Uses excluded_headers instead of ignored_headers to completely exclude headers from matching consideration (both presence and value) 2. Adds compare_bodies=False since LRO polling GET requests have no body 3. Excludes more headers that vary between environments: - User-Agent: Python version, OS, CI build info - x-ms-client-request-id: Unique per request - x-ms-request-id: Server-generated - Authorization: Different tokens per environment - Content-Length: May vary - Accept, Connection: Standard exclusions This follows the pattern used by formrecognizer and translation-document SDKs for handling LRO test playback issues.
|
Thank you for your contribution @chienyuanchang! We will review the pull request and get back to you soon. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
15ffd63 to
76d149d
Compare
… ensure test stability. Updated with new recording to match the polling intervals
76d149d to
a501a3c
Compare
a501a3c to
d063a6b
Compare
d063a6b to
4d71b56
Compare
8e2fd9f to
46e58b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines